]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
NetworkMenu: fix regression for VPN connections
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sun, 13 Oct 2013 00:10:22 +0000 (02:10 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Sun, 13 Oct 2013 00:11:14 +0000 (02:11 +0200)
Fix regression from e898e2991087e7ccb17bc17f2eedd99a1f41152a,
the code was moved from a method to a global function, but one
call site was not updated.

https://bugzilla.gnome.org/show_bug.cgi?id=710019

js/ui/status/network.js

index d8b896c6ff01a5a4b0c8b6ccec8426cdd0959ae7..f43428f2c326b8eedf6a055b64eaf75a71ddc1ae 100644 (file)
@@ -1526,7 +1526,7 @@ const NMApplet = new Lang.Class({
             return (a instanceof NMClient.VPNConnection);
         });
         vpnConnections.forEach(Lang.bind(this, function(a) {
-            this._ensureActiveConnectionProps(a);
+            ensureActiveConnectionProps(a, this._settings);
         }));
         this._vpnSection.setActiveConnections(vpnConnections);